package com.example.ribbon.service;

import com.alibaba.fastjson.JSONObject;
import com.example.config.exception.GlobalExcetion;
import com.example.util.MethodDesc;

public interface ReceiveMsgRecordRibbonService {

    @MethodDesc(description = "消息记录创建模块")
    public JSONObject receiveMsgRecord(String toUid, String msg) throws GlobalExcetion;

    @MethodDesc(description = "获取当前用户发送的消息记录")
    public JSONObject getUserMsgRecordList();

    @MethodDesc(description = "获取当前用户发送的消息记录分页")
    public JSONObject getUserMsgRecordPage(Integer pageNum,Integer pageSize);

    @MethodDesc(description = "获取当前用户与其他具体某个用户发送的消息记录分页")
    public JSONObject getUserMsgRecordPage(Integer pageNum,Integer pageSize,String toUid);
}
